/**
 * Created by Administrator on 2017/4/6.
 */
"use strict";
var crypto = require('crypto');
module.exports= function(str){
    var md5=crypto.createHash('md5');
    var jm = md5.update(str).digest('base64');
    return jm;
};